home *** CD-ROM | disk | FTP | other *** search
/ Visual Basic Source Code / Visual Basic Source Code.iso / vbsource / c_arr1a / readme.txt < prev   
Encoding:
Text File  |  1999-09-19  |  2.8 KB  |  84 lines

  1. ***************************************
  2. ***************************************
  3. *c_Array version 1                   **
  4. *                                    **
  5. *By: Jan Botha                       **
  6. *eMail: c03jabot@prg.wcape.school.za **
  7. *Using: Visual Basic 5               **
  8. *Date: 18 September 1999             **
  9. ***************************************
  10. ***************************************
  11.  
  12. Introduction:
  13. -------------------------------------------------------
  14. I got the idea to program c_Array after I became
  15. aware of the fact that Collections are slow and
  16. use quite a lot of memory.
  17. This class only uses arrays to accomplish everything
  18. that a collection can do.
  19.  
  20. I have also added a few things:
  21.  
  22. 1. A MoveUp and MoveDown method to move an item
  23.    up or down in the array
  24. 2. A Clear method to clear everything
  25. 3. I have added the possibility to use keys to
  26.    identify an item
  27.  
  28. Thus, you can use most of the methods by specifying
  29. either a key or an index
  30.  
  31. Thank you for using c_Array 1. Please email
  32. me comments, suggestions and especially BUGS!
  33. Upgrades and improvements coming soon!
  34.  
  35. The Author
  36. (-: Jan Botha :-)
  37. -------------------------------------------------------
  38.  
  39. This .zip file includes the following:
  40. 1. This Readme file (readme.txt)
  41. 2. The Class Module (c_Array.cls)
  42. 3. A project including a form to demostrate how to use
  43.    c_Array 1 (Example.vbp; frmc_Array.frm)
  44.  
  45. ----------------------------
  46. Cool, but how do I use this?
  47. ----------------------------
  48. If you don't know how the hell to use this class module, 
  49. then read on (otherwise skip this).
  50.  
  51. You can use c_Array 1 on its own. You needn't use any of
  52. the other files included here.
  53.  
  54. To add c_Array 1 to your project, click on the Project
  55. menu item. Then click on Add Class Module. A new window 
  56. pops up (cool hey!) Click the Existing tab. Browse to 
  57. where you extracted these files and click on "c_Array.cls" 
  58. and click open.
  59.  
  60. The class is now supposed to be added to your project.
  61. If it isn't, then I suggest that you must reconsider whether you
  62. should try to write programs! Just kidding. Try again if you 
  63. had problems.
  64.  
  65. You HAVE TO have these lines somewhere in your code in 
  66. order to use c_Array1.
  67.  
  68. The Dim-statement should look like this:
  69. Dim yourNameHere as c_Array
  70.  
  71. OK, now you've Dim'ed it. Before you can use it, the 
  72. following will have to be done:
  73. Set yourNameHere = New c_Array
  74.  
  75. *** Remember ***
  76. Whenever you use the Itemget method the arguments must 
  77. be enclosed in paranthesis. The other methods can be 
  78. called with or without paranthesis. 
  79. When calling a method that has both the Key and the Index 
  80. arguments, you can omit either one, but not both. If you 
  81. specify both the Inde xand the Key, the Index will always 
  82. be used even if both are valid.
  83.  
  84.         ENJOY     ENJOY     ENJOY     ENJOY     ENJOY